
** This is a Stata do file to replicate results in the paper Anderson and Park, "International Contributions to Nicaraguan Democracy: The Role of Foreign Municipal Donations for Social Development." The provided code here, along with the data provided, reproduces the tables presented in the paper. Most tables can be reproduced independently by using official statistics published by the Ministry of Finance and Public Credit of Nicaragua (http://www.transmuni.gob.ni). (10/19/2015)

* Table 1: Please refer to official figures: they are just simple aggregation of official government statistics. 

* Table 2: 
use table2.dta, replace
tabstat y2008-total, s(sum) by(region)
* Small differences are due to rounding errors. We rounded at 1,000 Cordobas. 

* Table 3:
use table3.dta, replace
tabulate party_before2008 party_after2008
tabulate party_before2012 party_after2012
* * “Rightist” Parties include PLI, APRE, and PLC. Source: The Supreme Electoral Council of Nicaragua (http://www.ese.gob.ni) and Instituto Nicaraguense de Fomento Municipal (http://www.inifom.gob.ni). 


* Table 4: 
use table4.dta, replace
table year partyalcalde if partyalcalde==2|partyalcalde==3, c(mean external) f(%6.0f)
table year partyalcalde if (partyalcalde==2|partyalcalde==3)&centrality==1, c(mean external) f(%6.0f)
* Small differences are due to rounding errors. We rounded at 1,000 Cordobas. 


* Table 5: 
use table5.dta, replace
xtreg external bin_cental2 bin_cental3 i.FSLN##c.year_linear PopDensity urban05 l.external

* Alternative Specifications in Appendix 2
xtpcse external bin_cental2 bin_cental3 i.FSLN##c.year_linear PopDensity urban05 l.external, pairwise
xtgls external bin_cental2 bin_cental3 i.FSLN##c.year_linear PopDensity urban05 l.external, c(ar1)



